home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C02 / Microsoft.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  2.2 KB  |  101 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C02
  7. # using the Microsoft compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Microsoft.makefile
  11.  
  12. # Note: this requires the service Pack 3 from
  13. # www.Microsoft.com for successful compilation!
  14. CPP = cl
  15. CPPFLAGS = -GX -GR
  16. OFLAG = -o
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     Hello.exe \
  25.     Stream2.exe \
  26.     Concat.exe \
  27.     Numconv.exe \
  28.     Incr.exe \
  29.     HelloStrings.exe \
  30.     Scopy.exe \
  31.     FillString.exe \
  32.     Fillvector.exe \
  33.     GetWords.exe 
  34.  
  35. test: all 
  36.     Hello.exe  
  37.     Stream2.exe  
  38.     Concat.exe  
  39.     Numconv.exe  
  40.     Incr.exe  
  41.     HelloStrings.exe  
  42.     Scopy.exe  
  43.     FillString.exe  
  44.     Fillvector.exe  
  45.     GetWords.exe  
  46.  
  47. bugs: \
  48.     Incident.exe \
  49.     Intvector.exe 
  50.  
  51. Hello.exe: Hello.obj 
  52.     $(CPP) $(OFLAG)Hello.exe Hello.obj 
  53.  
  54. Stream2.exe: Stream2.obj 
  55.     $(CPP) $(OFLAG)Stream2.exe Stream2.obj 
  56.  
  57. Concat.exe: Concat.obj 
  58.     $(CPP) $(OFLAG)Concat.exe Concat.obj 
  59.  
  60. Numconv.exe: Numconv.obj 
  61.     $(CPP) $(OFLAG)Numconv.exe Numconv.obj 
  62.  
  63. Incr.exe: Incr.obj 
  64.     $(CPP) $(OFLAG)Incr.exe Incr.obj 
  65.  
  66. Incident.exe: Incident.obj 
  67.     $(CPP) $(OFLAG)Incident.exe Incident.obj 
  68.  
  69. HelloStrings.exe: HelloStrings.obj 
  70.     $(CPP) $(OFLAG)HelloStrings.exe HelloStrings.obj 
  71.  
  72. Scopy.exe: Scopy.obj 
  73.     $(CPP) $(OFLAG)Scopy.exe Scopy.obj 
  74.  
  75. FillString.exe: FillString.obj 
  76.     $(CPP) $(OFLAG)FillString.exe FillString.obj 
  77.  
  78. Fillvector.exe: Fillvector.obj 
  79.     $(CPP) $(OFLAG)Fillvector.exe Fillvector.obj 
  80.  
  81. GetWords.exe: GetWords.obj 
  82.     $(CPP) $(OFLAG)GetWords.exe GetWords.obj 
  83.  
  84. Intvector.exe: Intvector.obj 
  85.     $(CPP) $(OFLAG)Intvector.exe Intvector.obj 
  86.  
  87.  
  88. Hello.obj: Hello.cpp 
  89. Stream2.obj: Stream2.cpp 
  90. Concat.obj: Concat.cpp 
  91. Numconv.obj: Numconv.cpp 
  92. Incr.obj: Incr.cpp 
  93. Incident.obj: Incident.cpp 
  94. HelloStrings.obj: HelloStrings.cpp 
  95. Scopy.obj: Scopy.cpp 
  96. FillString.obj: FillString.cpp 
  97. Fillvector.obj: Fillvector.cpp 
  98. GetWords.obj: GetWords.cpp 
  99. Intvector.obj: Intvector.cpp 
  100.  
  101.